package proxy._static;

import proxy.Subject;
import proxy.User;

public class ProxyRealSubject implements Subject {
    Subject subject;

    public ProxyRealSubject(Subject subject) {
        this.subject = subject;
    }

    @Override
    public User getUser() {
        return subject.getUser();
    }

    @Override
    public void setUser(User user) {
        subject.setUser(user);
    }
}
